<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org"
      lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

    <p th:text="${#dates.format(data,'yyyy-MM-dd HH:mm:ss')}"></p>
    <p th:text="${#strings.abbreviate(string,20)}"></p>
    <p th:text="${#numbers.formatDecimal(num,1,2)}"></p>

    <h1 th:insert="~{copy :: cut}"></h1><br>
    <span th:replace="~{copy :: cut}"></span><br>
    <span th:include="~{copy :: cut}"></span><br>
</body>
</html>